package com.uniview.enums;

import com.uniview.util.Common;

/**
 * 积分规则执行频率
 * 
 * @author pang chaogao
 *
 */
public enum EIntegralRuleCycle {

	EVERY_DAY(Common.INTEGRAL_RULE_DETAIL_DAY, "每天"), // 每天
	EVERY_WEEK(Common.INTEGRAL_RULE_DETAIL_WEEK, "每周"), // 每周
	EVERY_MONTH(Common.INTEGRAL_RULE_DETAIL_MONTH, "每月"), // 每月
	EVERY_YEAR(Common.INTEGRAL_RULE_DETAIL_YEAR, "每年"), // 每年
	NO_CYCLE(Common.INTEGRAL_RULE_DETAIL_NONE, "无限制"); // 无限制

	public final int val;
	
	public final String name;
	
	private EIntegralRuleCycle(int val, String name) {
		this.val = val;
		this.name = name;
	}

//	public int toVal() {
//		return val;
//	}
	
}
